WPML\Core\Twig\NodeVisitor\EscaperNodeVisitor S

Total Complexity 42
Dependencies 16
Dependents 1
Total lines 140
Lines of code 118
Logical lines of code 77
Comment lines 1
Methods 12
Properties 6

Methods 12

Method Rating Maintainability Complexity Lines of code
doLeaveNode()
A
52 10 21
doEnterNode()
A
56 8 16
unwrapConditional()
S
57 5 15
isSafeFor()
S
60 4 12
preEscapeFilterNode()
S
60 3 13
escapePrintNode()
S
62 3 11
needEscaping()
S
70 3 6
escapeInlinePrintNode()
S
66 2 7
__construct()
S
78 1 3
shouldUnwrapConditional()
S
71 1 5
getEscaperFilter()
S
67 1 6
getPriority()
S
82 1 3